package com.sc.nft.entity.vo.tradingPool;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sc.nft.enums.TradingStatusEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 交易池交易记录
 */
@Data
public class TradingPoolOrderVO {

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "标题")
    private String firstTitle;

    @ApiModelProperty(value = "图片")
    private String creationContent;

    @ApiModelProperty("交易藏品编号")
    private String numbering;

    @ApiModelProperty("成交价格")
    private BigDecimal amount;

    @ApiModelProperty("订单时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date dealTime;

    @ApiModelProperty("订单编号")
    private String orderNumber;

    @ApiModelProperty("订单状态")
    private TradingStatusEnum orderStatus;
}
